package com.lagou.dto;

import com.lagou.handler.UserClientHandler;
import io.netty.channel.ChannelFuture;

/**
 * @author yutao
 * @create 2020-06-21 14:38
 **/
public class RpcDto {
    private ChannelFuture connect;
   private  UserClientHandler userClientHandler;
   private long time;
   private  boolean enable = true;

    public ChannelFuture getConnect() {
        return connect;
    }

    public void setConnect(ChannelFuture connect) {
        this.connect = connect;
    }

    public UserClientHandler getUserClientHandler() {
        return userClientHandler;
    }

    public void setUserClientHandler(UserClientHandler userClientHandler) {
        this.userClientHandler = userClientHandler;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }
}
